package com.ddwl.schema.bo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;


@Getter
@Setter
@ApiModel("新增提现渠道")
public class ShopChannelAddBo {


    @ApiModelProperty(value = "用户ID",hidden = true)
    private String userId;

    @NotNull(message = "真实姓名不能为空")
    @ApiModelProperty(value = "真实姓名",required = true)
    private String realName;

    @ApiModelProperty(value = "身份证号",hidden = true)
    private String idcard;

    @ApiModelProperty(value = "门店id",hidden = true)
    private String shopId;

    @ApiModelProperty(value = "类型0微信1支付宝2银行卡",hidden = true)
    private Integer type;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "银行code")
    private String bankCode;

    @NotNull(message = "卡号不能为空")
    @ApiModelProperty(value = "账号或卡号")
    private String account;

    @ApiModelProperty("开户行地址")
    private String bankAddress;

    @Pattern(regexp = "^1\\d{10}$",message = "请输入正确的手机号")
    @ApiModelProperty(value = "绑定手机号")
    private String mobile;

}
